FROM mhart/alpine-node:8.11.4

WORKDIR /thinkjs
# COPY package.json /thinkjs/package.json

COPY / /thinkjs/
# COPY ["package.json","/thinkjs/package.json","src","/thinkjs/src","view","/thinkjs/view","production.js","/thinkjs/production.js","eureka-client.yml","/thinkjs/eureka-client.yml","www","/thinkjs/www","development.js","/thinkjs/development.js"] 
# COPY src /thinkjs/src
# COPY app /thinkjs/app
# COPY view /thinkjs/view
# COPY production.js /thinkjs/production.js
# COPY eureka-client.yml /thinkjs/eureka-client.yml
# COPY www /thinkjs/www
# COPY runtime /thinkjs/runtime
# COPY development.js /thinkjs/development.js
 #RUN npm i -g npm@5.6.0
RUN npm i --production --registry=https://registry.npm.taobao.org
ENV DOCKER=true
# RUN npm run compile
CMD [ "node", "/thinkjs/production.js" ]
